var JL = (function() {
	var uniqueInstance;
	function constructor() {
		var version="1.0";
		return {
			extend : function(subClass, superClass) {
				var F = new Function();
				F.prototype = superClass.prototype;
				subClass.prototype = new F();
				subClass.prototype.constructor = subClass;
				subClass.superClass = superClass.prototype;
				if (superClass.prototype.constructor == Object.prototype.constructor) {
					superClass.prototype.constructor = superClass;
				}
			},
			getVersion:function(){
				return version;
			}
		};
	}
	return {
		getInstance : function() {
			if (!uniqueInstance) {
				uniqueInstance = constructor();
			}
			return uniqueInstance;
		}
	};
})();



Function.prototype.method=function(name,fn){
	this.prototype[name]=fn;
	return this;
};
//function Tt(){};
//(function(){
//	Tt.method('showMsg',function(){
//		alert("this.is.test.msg!");
//	}).method('showName', function(){
//		alert("name is wskxvkcep!");
//	});
//	var tt=new Tt();
//	tt.showName();
//})();

var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.load("note.xml");

var xmlDoc=document.implementation.createDocument("","",null);
xmlDoc.async="false";
xmlDoc.load("note.xml");

xmlDoc.getElementsByTagName("to")[0].childNodes[0].nodeValue